package com.yl.service.impl;

import com.yl.model.Clients;
import com.yl.dao.ClientsMapper;
import com.yl.service.ClientsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lfs
 * @since 2020-11-19
 */
@Service
public class ClientsServiceImpl extends ServiceImpl<ClientsMapper, Clients> implements ClientsService {

    @Autowired
    ClientsMapper mapper;
    public List<Clients> userList() {
        return mapper.findUsers();
    }
}
